.main {
    padding: 60px 0;
    background-color: #F5F5F5;
    min-height: 600px;
}

.main nav {
    border: 1px solid #e2e2e2;
    border-radius: 4px;
    background-color: #fff;
    margin: 20px 20px 20px 20px;
}

.main nav li {
    margin-right: 20px;
}

.learn-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.content::after {
    content: ""; width: 300px;
    margin: 20px 20px;
}


.content .item {
    margin: 20px 20px;
    width: 320px;
    height: 120px;
    background-color: #fff;
    border-radius: 4px;
    box-shadow: 0 2px 6px 0 rgba(0, 0, 0, 0.04);
}

.content .item:hover {
    box-shadow: 0 2px 12px 0 rgba(0, 0, 0, 0.1);
    transform: scale(1.04);
    transition: 300ms;
    cursor: pointer;
}

.content .item>.row {
    height: 100%;
}

.content .item .image {
    border-radius: 4px;
    box-sizing: border-box;
    height: 120px;
    overflow: hidden;
    padding: 15px;
    position:relative;
    transform: scale(.8);
}

.content .item .image img {
    border-radius: 4px;
    position: absolute;
    height: 100%;
    top: 0;
    bottom: 0;
    left:50%;
    transform:translateX(-50%);
}
.content .item .details {
    box-sizing: border-box;
    padding: 15px;
    height: 120px;
    overflow: hidden;
}
.content .item .title {
    font-weight: bold;
    font-size: 1.1em;
}

.content .item .desc {
    box-sizing: border-box;
    padding-top: 10px;
    width: 100%;
}
.content .item .col-5,
.content .item .col-7{
    padding: 0;
}
